package dashboard.model;

import java.sql.Timestamp;
import java.util.*;

/**
 * 
 * @author xu guoneng
 *
 */
public class OnDemandReport {

	private Timestamp beginTime;
	private Timestamp endTime;
	
	private String reportFilePath;
	
	private List<String> htmlReports;

	public OnDemandReport(Timestamp beginTime, Timestamp endTime) {
		super();
		this.beginTime = beginTime;
		this.endTime = endTime;
		htmlReports = new ArrayList<String>();
	}
	
	public void addSubreport(String htmlReport){
		htmlReports.add(htmlReport);
	}

	public Timestamp getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Timestamp beginTime) {
		this.beginTime = beginTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public String getReportFilePath() {
		return reportFilePath;
	}

	public void setReportFilePath(String reportFilePath) {
		this.reportFilePath = reportFilePath;
	}

	public List<String> getHtmlReports() {
		return htmlReports;
	}

	public void setHtmlReports(List<String> htmlReports) {
		this.htmlReports = htmlReports;
	}
	
	
}
